package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

/**
 * @author mwj
 * @date 2021/11/24
 * @TIME:15:43
 */
public interface SetmealService extends IService<Setmeal> {
    void saveSetmealDto(SetmealDto setmealDto);

    Page<SetmealDto> findByPage(Integer page, Integer pageSize, String name);

    void deleteIds(Long[] ids);

    void statusByIds(Integer statusHandle, Long[] ids);

    SetmealDto findById(Long id);

    void updateSetmeal(SetmealDto setmealDto);

    List<Setmeal> findList(Setmeal setmeal);
}
